home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Topik / Topik - Disk 16 - KnowAboutIt (19xx)(Topik Public Domain)(PD)[WB].zip / Topik - Disk 16 - KnowAboutIt (19xx)(Topik Public Domain)(PD)[WB].adf / C / DD.doc < prev    next >
Text File  |  1989-10-01  |  2KB  |  47 lines

  1.  
  2.  
  3.  
  4.  
  5.       DD     /
  6.             /
  7.            /    The Dynamic Directory Command
  8.                                                -Dale McBane
  9.  
  10.  
  11.  
  12.      Of all the commands in the C (command) directory, DIR is probably
  13. the most frequently used.  Type DIR from a CLI or Shell window to list all of
  14. the directories and files in the current directory.  The DIR command can
  15. also take an argument which is a directory or device name.  For instance,
  16. DIR C: lists all the commands in the C device (which is normally assigned to
  17. the C directory of your boot disk).  Many options are available with DIR,
  18. but it's not ideal.  For instance, it doesn't show the size of the files it
  19. lists.  The LIST command does include the file sizes, but it doesn't
  20. alphabetize the list.  Also, both the DIR and the LIST commands are wasteful
  21. in their display - a decent-sized directory will cause filenames to scroll
  22. right off the top of the screen.
  23.      DD is a replacement directory command that includes the best features
  24. of DIR and LIST.  It also breaks new ground.  It splits up directories from
  25. files and lists them separately.  DD prints the directories in color so that
  26. you can easily distinguish them from the files.  Each file is printed along
  27. with its size.
  28.      DD also conforms to fit your window.  Do you have a tall, narrow
  29. window?  DD will fit the files into it.  A short, wide window?  No problem-
  30. DD will oblige.
  31.      If the entire directory will not fit in the window, DD will pause with
  32. the message (MORE).  Press any key to continue the listing.
  33.      Finally, DD will display a status line.  This line is packed with handy
  34. information.  It lists the number of bytes in the directory, the percentage
  35. of the disk that has been used, and the total number of bytes available on
  36. the disk.
  37.      DD is a CLI program only - it cannot be used from the WorkBench.
  38. DD has been compiled under version 5.02 of Lattice C.
  39.      If you're looking for space on your WorkBench disk, you can replace DIR
  40. and LIST with DD.  This will net you a savings of 8612 bytes.  If you use a
  41. hard drive or if you have plenty of spare room on your boot disk, you may
  42. want to keep DIR and LIST in addition to DD.
  43.      To get a listing of the current directory, type DD.  Alternatively, you
  44. can give DD a directory name, device name, or filename.
  45.      DD is a powerful addition to your command directory.  Try it!
  46.  
  47.